/**
 * com.cnhis.his.customer.mapper.Bak1.java
 */
package com.mbmed.doctor.homepage.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Bak1.java
 * @author 刘武
 * @version 0.1
 * @todo	Bak1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-11-25 01:31:55
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Bak1 extends BaseVO implements java.io.Serializable{

	private java.lang.Integer bak01;
	private java.lang.String bak02;
	private java.lang.Byte bak03;
	private java.lang.String bak04;
	private java.lang.String bak05;
	private java.lang.String bak06;
	private java.lang.String bak07;
	private java.lang.String abbrp;
	private java.lang.String abbrw;
	private java.lang.String abw01;
	private java.lang.String abx01;
	private java.lang.Byte bak12;
	private java.lang.String ach01;
	private java.lang.String bak14;
	private java.lang.String baf01;
	private java.lang.Integer bah01;
	private java.util.Date bak17;
	private java.lang.Integer cout;
	
	public java.lang.Integer getCout() {
		return cout;
	}

	public void setCout(java.lang.Integer cout) {
		this.cout = cout;
	}

	public Bak1(){
	}

	public Bak1(
		java.lang.Integer bak01
	){
		this.bak01 = bak01;
	}



	public void setBak01(java.lang.Integer value) {
		this.bak01 = value;
	}	
	public java.lang.Integer getBak01() {
		return this.bak01;
	}

	public void setBak02(java.lang.String value) {
		this.bak02 = value;
	}	
	public java.lang.String getBak02() {
		return this.bak02;
	}

	public void setBak03(java.lang.Byte value) {
		this.bak03 = value;
	}	
	public java.lang.Byte getBak03() {
		return this.bak03;
	}

	public void setBak04(java.lang.String value) {
		this.bak04 = value;
	}	
	public java.lang.String getBak04() {
		return this.bak04;
	}

	public void setBak05(java.lang.String value) {
		this.bak05 = value;
	}	
	public java.lang.String getBak05() {
		return this.bak05;
	}

	public void setBak06(java.lang.String value) {
		this.bak06 = value;
	}	
	public java.lang.String getBak06() {
		return this.bak06;
	}

	public void setBak07(java.lang.String value) {
		this.bak07 = value;
	}	
	public java.lang.String getBak07() {
		return this.bak07;
	}

	public void setAbbrp(java.lang.String value) {
		this.abbrp = value;
	}	
	public java.lang.String getAbbrp() {
		return this.abbrp;
	}

	public void setAbbrw(java.lang.String value) {
		this.abbrw = value;
	}	
	public java.lang.String getAbbrw() {
		return this.abbrw;
	}

	public void setAbw01(java.lang.String value) {
		this.abw01 = value;
	}	
	public java.lang.String getAbw01() {
		return this.abw01;
	}

	public void setAbx01(java.lang.String value) {
		this.abx01 = value;
	}	
	public java.lang.String getAbx01() {
		return this.abx01;
	}

	public void setBak12(java.lang.Byte value) {
		this.bak12 = value;
	}	
	public java.lang.Byte getBak12() {
		return this.bak12;
	}

	public void setAch01(java.lang.String value) {
		this.ach01 = value;
	}	
	public java.lang.String getAch01() {
		return this.ach01;
	}

	public void setBak14(java.lang.String value) {
		this.bak14 = value;
	}	
	public java.lang.String getBak14() {
		return this.bak14;
	}

	public void setBaf01(java.lang.String value) {
		this.baf01 = value;
	}	
	public java.lang.String getBaf01() {
		return this.baf01;
	}

	public void setBah01(java.lang.Integer value) {
		this.bah01 = value;
	}	
	public java.lang.Integer getBah01() {
		return this.bah01;
	}

	public void setBak17(java.util.Date value) {
		this.bak17 = value;
	}	
	public java.util.Date getBak17() {
		return this.bak17;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Bak01").append("='").append(getBak01()).append("' ");	
			   buffer.append("Bak02").append("='").append(getBak02()).append("' ");	
			   buffer.append("Bak03").append("='").append(getBak03()).append("' ");	
			   buffer.append("Bak04").append("='").append(getBak04()).append("' ");	
			   buffer.append("Bak05").append("='").append(getBak05()).append("' ");	
			   buffer.append("Bak06").append("='").append(getBak06()).append("' ");	
			   buffer.append("Bak07").append("='").append(getBak07()).append("' ");	
			   buffer.append("Abbrp").append("='").append(getAbbrp()).append("' ");	
			   buffer.append("Abbrw").append("='").append(getAbbrw()).append("' ");	
			   buffer.append("Abw01").append("='").append(getAbw01()).append("' ");	
			   buffer.append("Abx01").append("='").append(getAbx01()).append("' ");	
			   buffer.append("Bak12").append("='").append(getBak12()).append("' ");	
			   buffer.append("Ach01").append("='").append(getAch01()).append("' ");	
			   buffer.append("Bak14").append("='").append(getBak14()).append("' ");	
			   buffer.append("Baf01").append("='").append(getBaf01()).append("' ");	
			   buffer.append("Bah01").append("='").append(getBah01()).append("' ");	
			   buffer.append("Bak17").append("='").append(getBak17()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Bak1) ) return false;
		 Bak1  castOther = ( Bak1) other;  
		 return 
					( (this.getBak01()==castOther.getBak01()) ||( this.getBak01()!=null && castOther.getBak01()!=null && this.getBak01().equals(castOther.getBak01()) ) )
					&&( (this.getBak02()==castOther.getBak02()) ||( this.getBak02()!=null && castOther.getBak02()!=null && this.getBak02().equals(castOther.getBak02()) ) )
					&&( (this.getBak03()==castOther.getBak03()) ||( this.getBak03()!=null && castOther.getBak03()!=null && this.getBak03().equals(castOther.getBak03()) ) )
					&&( (this.getBak04()==castOther.getBak04()) ||( this.getBak04()!=null && castOther.getBak04()!=null && this.getBak04().equals(castOther.getBak04()) ) )
					&&( (this.getBak05()==castOther.getBak05()) ||( this.getBak05()!=null && castOther.getBak05()!=null && this.getBak05().equals(castOther.getBak05()) ) )
					&&( (this.getBak06()==castOther.getBak06()) ||( this.getBak06()!=null && castOther.getBak06()!=null && this.getBak06().equals(castOther.getBak06()) ) )
					&&( (this.getBak07()==castOther.getBak07()) ||( this.getBak07()!=null && castOther.getBak07()!=null && this.getBak07().equals(castOther.getBak07()) ) )
					&&( (this.getAbbrp()==castOther.getAbbrp()) ||( this.getAbbrp()!=null && castOther.getAbbrp()!=null && this.getAbbrp().equals(castOther.getAbbrp()) ) )
					&&( (this.getAbbrw()==castOther.getAbbrw()) ||( this.getAbbrw()!=null && castOther.getAbbrw()!=null && this.getAbbrw().equals(castOther.getAbbrw()) ) )
					&&( (this.getAbw01()==castOther.getAbw01()) ||( this.getAbw01()!=null && castOther.getAbw01()!=null && this.getAbw01().equals(castOther.getAbw01()) ) )
					&&( (this.getAbx01()==castOther.getAbx01()) ||( this.getAbx01()!=null && castOther.getAbx01()!=null && this.getAbx01().equals(castOther.getAbx01()) ) )
					&&( (this.getBak12()==castOther.getBak12()) ||( this.getBak12()!=null && castOther.getBak12()!=null && this.getBak12().equals(castOther.getBak12()) ) )
					&&( (this.getAch01()==castOther.getAch01()) ||( this.getAch01()!=null && castOther.getAch01()!=null && this.getAch01().equals(castOther.getAch01()) ) )
					&&( (this.getBak14()==castOther.getBak14()) ||( this.getBak14()!=null && castOther.getBak14()!=null && this.getBak14().equals(castOther.getBak14()) ) )
					&&( (this.getBaf01()==castOther.getBaf01()) ||( this.getBaf01()!=null && castOther.getBaf01()!=null && this.getBaf01().equals(castOther.getBaf01()) ) )
					&&( (this.getBah01()==castOther.getBah01()) ||( this.getBah01()!=null && castOther.getBah01()!=null && this.getBah01().equals(castOther.getBah01()) ) )
					&&( (this.getBak17()==castOther.getBak17()) ||( this.getBak17()!=null && castOther.getBak17()!=null && this.getBak17().equals(castOther.getBak17()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getBak01() == null ? 0 : this.getBak01().hashCode() );
				  result = 37 * result + (getBak02() == null ? 0 : this.getBak02().hashCode() );
				  result = 37 * result + (getBak03() == null ? 0 : this.getBak03().hashCode() );
				  result = 37 * result + (getBak04() == null ? 0 : this.getBak04().hashCode() );
				  result = 37 * result + (getBak05() == null ? 0 : this.getBak05().hashCode() );
				  result = 37 * result + (getBak06() == null ? 0 : this.getBak06().hashCode() );
				  result = 37 * result + (getBak07() == null ? 0 : this.getBak07().hashCode() );
				  result = 37 * result + (getAbbrp() == null ? 0 : this.getAbbrp().hashCode() );
				  result = 37 * result + (getAbbrw() == null ? 0 : this.getAbbrw().hashCode() );
				  result = 37 * result + (getAbw01() == null ? 0 : this.getAbw01().hashCode() );
				  result = 37 * result + (getAbx01() == null ? 0 : this.getAbx01().hashCode() );
				  result = 37 * result + (getBak12() == null ? 0 : this.getBak12().hashCode() );
				  result = 37 * result + (getAch01() == null ? 0 : this.getAch01().hashCode() );
				  result = 37 * result + (getBak14() == null ? 0 : this.getBak14().hashCode() );
				  result = 37 * result + (getBaf01() == null ? 0 : this.getBaf01().hashCode() );
				  result = 37 * result + (getBah01() == null ? 0 : this.getBah01().hashCode() );
				  result = 37 * result + (getBak17() == null ? 0 : this.getBak17().hashCode() );
         return result;
	} 
	
}
